<% add_decidim_page_title(t("participatory_process_groups.new.title", scope: "decidim.admin")) %>
<% content_for :breadcrumb_context_menu do %>
  <div class="process-title-content-breadcrumb-container-right">
    <% if allowed_to? :create, :process_group %>
      <%= link_to [:new, :participatory_process_group], class: "button button__sm button__transparent process-title-content-breadcrumb-container-right-link" do %>
        <%= icon "add-line" %>
        <span>
          <%= t("actions.new_process_group", scope: "decidim.admin") %>
        </span>
      <% end %>
    <% end %>
  </div>
<% end %>
<div class="item_show__header">
  <h1 class="item_show__header-title">
    <%= t "participatory_process_groups.new.title", scope: "decidim.admin" %>
  </h1>
</div>

<div class="item__edit item__edit-1col">
  <div class="item__edit-form">
    <%= decidim_form_for(@form, html: { class: "form-defaults form new_participatory_process_group" }) do |f| %>
      <%= render partial: "form", object: f %>
      <div class="item__edit-sticky">
        <div class="item__edit-sticky-container">
          <%= f.submit t("participatory_process_groups.new.create", scope: "decidim.admin"), class: "button button__sm button__secondary" %>
        </div>
      </div>
    <% end %>
  </div>
</div>
